Optimal. Leaf size=152 \[ \text {Int}\left (\cot (a+b x) (c+d x)^m,x\right )+\frac {2^{-m-3} e^{2 i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,-\frac {2 i b (c+d x)}{d}\right )}{b}+\frac {2^{-m-3} e^{-2 i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,\frac {2 i b (c+d x)}{d}\right )}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int (c+d x)^m \cos ^2(a+b x) \cot (a+b x) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int (c+d x)^m \cos ^2(a+b x) \cot (a+b x) \, dx &=\int (c+d x)^m \cot (a+b x) \, dx-\int (c+d x)^m \cos (a+b x) \sin (a+b x) \, dx\\ &=\int (c+d x)^m \cot (a+b x) \, dx-\int \frac {1}{2} (c+d x)^m \sin (2 a+2 b x) \, dx\\ &=-\left (\frac {1}{2} \int (c+d x)^m \sin (2 a+2 b x) \, dx\right )+\int (c+d x)^m \cot (a+b x) \, dx\\ &=-\left (\frac {1}{4} i \int e^{-i (2 a+2 b x)} (c+d x)^m \, dx\right )+\frac {1}{4} i \int e^{i (2 a+2 b x)} (c+d x)^m \, dx+\int (c+d x)^m \cot (a+b x) \, dx\\ &=\frac {2^{-3-m} e^{2 i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,-\frac {2 i b (c+d x)}{d}\right )}{b}+\frac {2^{-3-m} e^{-2 i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,\frac {2 i b (c+d x)}{d}\right )}{b}+\int (c+d x)^m \cot (a+b x) \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 7.77, size = 0, normalized size = 0.00 \[ \int (c+d x)^m \cos ^2(a+b x) \cot (a+b x) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (d x + c\right )}^{m} \cos \left (b x + a\right )^{2} \cot \left (b x + a\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (d x + c\right )}^{m} \cos \left (b x + a\right )^{2} \cot \left (b x + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.12, size = 0, normalized size = 0.00 \[ \int \left (d x +c \right )^{m} \left (\cos ^{2}\left (b x +a \right )\right ) \cot \left (b x +a \right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (d x + c\right )}^{m} \cos \left (b x + a\right )^{2} \cot \left (b x + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [A] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\cos \left (a+b\,x\right )}^2\,\mathrm {cot}\left (a+b\,x\right )\,{\left (c+d\,x\right )}^m \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (c + d x\right )^{m} \cos ^{2}{\left (a + b x \right )} \cot {\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________